package cn.jjxx.modules.pb.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import cn.jjxx.modules.pb.entity.PbPoliticalLife;
 
/**   
 * @Title: 三会一课开展情况数据库控制层接口
 * @Description: 三会一课开展情况数据库控制层接口
 * @author yw
 * @date 2022-01-10 16:54:39
 * @version V1.0   
 *
 */
public interface PbPoliticalLifeMapper extends BaseMapper<PbPoliticalLife> {

	List<Map<String,Object>> selectTypeNum(@Param("month") String month );
	List<Map<String,Object>> selectOrgNum(@Param("month") String month );
	List<Map<String,Object>> selectOrgTypeNum(@Param("month") String month );
	
    /**
	 * @Description: 批量插入数据 .<br>
	 * @param list list集合.<br>
	 * @author yw .<br>
	 * @date 2022-01-10 16:54:39.<br>
	 */
	boolean insertBatch(@Param("list")List<PbPoliticalLife> list);
    
    /**
	 * @Description: 批量更新单据 .<br>
	 * @param list list集合.<br>
	 * @author yw .<br>
	 * @date 2022-01-10 16:54:39 .<br>
	 */
	boolean updateBatch(@Param("list")List<PbPoliticalLife> list);
}